package com.ruoyi.system.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 帖子对象 post
 * 
 * @author ruoyi
 * @date 2025-06-25
 */
public class PostDTO
{
    private static final long serialVersionUID = 1L;
    private Long id;

    /** 社团ID */
    private Long clubId;


    /** 帖子标题 */
    private String title;

    /** 帖子内容 */
    private String content;

    /** 帖子类型（1-普通帖子，2-公告，3-活动） */
    private Integer type;


    /** 是否置顶（0-否，1-是） */
    private Boolean isTop;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Boolean getTop() {
        return isTop;
    }

    public void setTop(Boolean top) {
        isTop = top;
    }

    public void setClubId(Long clubId)
    {
        this.clubId = clubId;
    }

    public Long getClubId() 
    {
        return clubId;
    }



    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }



    public void setIsTop(Boolean isTop)
    {
        this.isTop = isTop;
    }

    public Boolean getIsTop()
    {
        return isTop;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("clubId", getClubId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("type", getType())
            .append("isTop", getIsTop())
            .toString();
    }
} 